export default {
    height: 'auto',
    calcHeight: 30,
    tip: false,
    searchShow: true,
    searchMenuSpan: 6,
    border: true,
    index: true,
    viewBtn: false,
    addBtn: true,
    delBtn: true,
    editBtn: true,
    emptyBtn: true,
    submitBtn: false,
    selection: true,
    menuWidth: 250,
    labelWidth: 150,
    align: 'center',
    menu:true,
    dialogWidth: '50%',
    dialogDrag: true,
    excelBtn: false,//表单导出按钮
    columnBtn:false, //列动态显隐按钮
    refreshBtn:false, // 刷新按钮
    searchShowBtn:false, //搜索按钮显隐按钮
    span:24,
    column: [
        {
            label: "柜子名称",
            prop: "name",
            search: true,
            rules: [{required: true, message: "请输入柜子名称", trigger: "blur"}]
        },
        {
            label: "层数",
            prop: "rowNum",
            rules: [{required: true, message: "请输入层数", trigger: "blur"}]
        },
        {
            label: "列数",
            prop: "cellNum",
            rules: [{required: true, message: "请输入列数", trigger: "blur"}]
        },
        {
            label: "单格可放",
            prop: "cellUsers",
            append:'人档案资料',
            formatter:(row,value)=>{
                return value+'人档案资料';
            },
            rules: [{required: true, message: "请输入可放数", trigger: "blur"}]
        },
    ]

}
